<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>垂直菜单</title>
		<style type="text/css">
			ul{
				list-style:none;
			}
			li a
			{
				margin:0 auto;
				text-decoration:none;
				display:block;
				border-bottom:1px solid red;
				background-color:#ccc;
				color:#000;
				width:100px;
				height:30px;
				text-align:center;
				font-size:14px;
				line-height: 30px;
			}
			li a:hover
			{
				background: #000;
				color:white;
			}
			li a:visited{
				color:plum;
				background:#999;
				font-weight:bold;
			}
			.last
			{
				border:none;
			}
		</style>
	</head>
	<body>
		<ul id = "total">
			<li><a href="www.baidu.com">css</a></li>
			<li><a href="www.baidu.com">jsp</a></li>
			<li><a href="www.baidu.com" class="last">html</a></li>
		</ul>
	</body>
</html>